<template>
  <div class="about">
    <h1>This is an about page</h1>
    <button @click="go">路由跳转</button>
  </div>
</template>
<script>
export default {
  methods: {
    go() {
      this.$router.push({name:"son",params:{id:'123'}})
      console.log(this.$route.params)

    }
  },
}
</script>
